// Template Source: BaseMethodCollectionPage.java.tt
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation.  All Rights Reserved.  Licensed under the MIT License.  See License in the project root for license information.
// ------------------------------------------------------------------------------

package com.microsoft.graph.requests;

import com.microsoft.graph.http.IRequestBuilder;
import com.microsoft.graph.core.ClientException;
import com.microsoft.graph.models.AccessReviewInstanceDecisionItemFilterByCurrentUserOptions;
import com.microsoft.graph.models.AccessReviewInstanceDecisionItem;
import java.util.Arrays;
import java.util.EnumSet;
import javax.annotation.Nullable;
import javax.annotation.Nonnull;

import com.microsoft.graph.http.BaseCollectionPage;
import com.microsoft.graph.requests.AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionRequestBuilder;
import com.microsoft.graph.requests.AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionPage;
import com.microsoft.graph.requests.AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionResponse;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
 * The class for the Access Review Instance Decision Item Filter By Current User Collection Page.
 */
public class AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionPage extends BaseCollectionPage<AccessReviewInstanceDecisionItem, AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionRequestBuilder> {

    /**
     * A collection page for AccessReviewInstanceDecisionItem.
     *
     * @param response The serialized AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionResponse from the service
     * @param builder The request builder for the next collection page
     */
    public AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionPage(@Nonnull final AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionResponse response, @Nonnull final AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionRequestBuilder builder) {
       super(response, builder);
    }

	/**
     * Creates the collection page for AccessReviewInstanceDecisionItemFilterByCurrentUser
     *
     * @param pageContents       the contents of this page
     * @param nextRequestBuilder the request builder for the next page
     */
    public AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionPage(@Nonnull final java.util.List<AccessReviewInstanceDecisionItem> pageContents, @Nullable final AccessReviewInstanceDecisionItemFilterByCurrentUserCollectionRequestBuilder nextRequestBuilder) {
        super(pageContents, nextRequestBuilder);
    }
}
